home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / Everything / DModalBarsData.h < prev    next >
Encoding:
Text File  |  1998-09-06  |  2.5 KB  |  109 lines  |  [TEXT/CWIE]

  1. // DModalBarsData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7.  
  8. const long    idBars2        = 'Bar2';
  9. const long    idStandard5        = 'Sta5';
  10. const long    idGraphic4        = 'Gra4';
  11. const long    idSlider2        = 'Sli2';
  12. const long    idTickMarks2        = 'Tic2';
  13. const long    idNonDirectional2        = 'Non2';
  14. const long    idLittleArrows2        = 'Lit2';
  15. const long    idSpinner2        = 'Spi2';
  16. const long    idVolumeControl2        = 'Vol2';
  17. const long    idJimSSlider2        = 'Jim2';
  18. const long    idStandard6        = 'Sta6';
  19. const long    idIndeterminate2        = 'Ind2';
  20. const long    idChasingArrows2        = 'Cha2';
  21. const long    idRectangle2        = 'Rec2';
  22. const long    idRoundRect2        = 'Rou2';
  23. const long    idBarberPole2        = 'Bar3';
  24. const long    idRoundBarber2        = 'Rou3';
  25.  
  26. class AMEngine;
  27.  
  28. //----------
  29. class DModalBarsData : public AMSignaler {
  30. public:
  31.                 DModalBarsData ();
  32.     virtual        ~DModalBarsData ();
  33.  
  34. public:
  35.     void        ReadFromFile    (AMEngine*        engine);
  36.     void        WriteToFile        (AMEngine*        engine);
  37.  
  38. public:
  39.     UInt16        GetBars2 () const;
  40.     void        SetBars2    (UInt16        inValue);
  41.  
  42.     SInt16        GetStandard5 () const;
  43.     void        SetStandard5    (SInt16        inValue);
  44.  
  45.     SInt16        GetGraphic4 () const;
  46.     void        SetGraphic4    (SInt16        inValue);
  47.  
  48.     SInt16        GetSlider2 () const;
  49.     void        SetSlider2    (SInt16        inValue);
  50.  
  51.     SInt16        GetTickMarks2 () const;
  52.     void        SetTickMarks2    (SInt16        inValue);
  53.  
  54.     SInt16        GetNonDirectional2 () const;
  55.     void        SetNonDirectional2    (SInt16        inValue);
  56.  
  57.     SInt16        GetLittleArrows2 () const;
  58.     void        SetLittleArrows2    (SInt16        inValue);
  59.  
  60.     SInt16        GetSpinner2 () const;
  61.     void        SetSpinner2    (SInt16        inValue);
  62.  
  63.     SInt16        GetVolumeControl2 () const;
  64.     void        SetVolumeControl2    (SInt16        inValue);
  65.  
  66.     SInt16        GetJimSSlider2 () const;
  67.     void        SetJimSSlider2    (SInt16        inValue);
  68.  
  69.     SInt16        GetStandard6 () const;
  70.     void        SetStandard6    (SInt16        inValue);
  71.  
  72.     SInt16        GetIndeterminate2 () const;
  73.     void        SetIndeterminate2    (SInt16        inValue);
  74.  
  75.     SInt16        GetChasingArrows2 () const;
  76.     void        SetChasingArrows2    (SInt16        inValue);
  77.  
  78.     SInt16        GetRectangle2 () const;
  79.     void        SetRectangle2    (SInt16        inValue);
  80.  
  81.     SInt16        GetRoundRect2 () const;
  82.     void        SetRoundRect2    (SInt16        inValue);
  83.  
  84.     SInt16        GetBarberPole2 () const;
  85.     void        SetBarberPole2    (SInt16        inValue);
  86.  
  87.     SInt16        GetRoundBarber2 () const;
  88.     void        SetRoundBarber2    (SInt16        inValue);
  89.  
  90. protected:
  91.     UInt16        mBars2;
  92.     SInt16        mStandard5;
  93.     SInt16        mGraphic4;
  94.     SInt16        mSlider2;
  95.     SInt16        mTickMarks2;
  96.     SInt16        mNonDirectional2;
  97.     SInt16        mLittleArrows2;
  98.     SInt16        mSpinner2;
  99.     SInt16        mVolumeControl2;
  100.     SInt16        mJimSSlider2;
  101.     SInt16        mStandard6;
  102.     SInt16        mIndeterminate2;
  103.     SInt16        mChasingArrows2;
  104.     SInt16        mRectangle2;
  105.     SInt16        mRoundRect2;
  106.     SInt16        mBarberPole2;
  107.     SInt16        mRoundBarber2;
  108. };
  109.